package com.example.zg3_park

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import androidx.lifecycle.ViewModel
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.alibaba.android.arouter.facade.annotation.Route
import com.example.lib_base.mvvm.BaseActivity
import com.example.zg3_park.User.UserViewModel
import com.example.zg3_park.databinding.ActivityMainBinding
import dagger.hilt.android.AndroidEntryPoint
import java.util.*

@Route(path = "/app/MainActivity")
@AndroidEntryPoint
class MainActivity : BaseActivity<ActivityMainBinding,UserViewModel>() {
    override fun intiView() {
        val navHostFragment = supportFragmentManager.findFragmentById(R.id.fragmentContainerView) as NavHostFragment
        val navController = navHostFragment.navController
        binding.btn.setupWithNavController(navController)
    }

    override fun intiData() {

    }
}